package com.rahms.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;

@Schema(description = "用户注册请求参数")
public class AuthRegisterDTO {

    @Schema(description = "用户名", example = "admin", required = true)
    private String username;
    
    @Schema(description = "密码", example = "123456", required = true)
    private String password;
    
    @Schema(description = "真实姓名", example = "张三", required = true)
    private String realName;
    
    @Schema(description = "手机号", example = "13800138000", required = true)
    private String phone;
    
    @Schema(description = "用户角色", example = "family", allowableValues = {"family", "admin"}, required = true)
    private String role; // family or admin

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }
}


